
<ul class="nav navbar-nav navbar-right {$auth?'hidden':''}" id="AjaxLogin">
	<li>
		<button type="button" class="btn btn-default btn-sm" href="#loginDialog" data-sea="artDialog" data-option="width:'700px'">登录</button>
	</li>
	<li>
		<button type="button" class="btn btn-default btn-sm">注册</button>
	</li>
</ul>
<ul class="nav navbar-nav navbar-right {$auth?'':'hidden'}" id="AjaxLogout">
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">{$auth.username} <span class="caret"></span></a>
		<ul class="dropdown-menu" aria-labelledby="download">
			<li><a href="__DZURL__//plugin.php?id=dsu_paulsign:sign">每日签到：点我签到</a></li>
			<li><a href="__DZURL__/home.php?mod=spacecp&ac=usergroup">用户组：{$auth.grouptitle}</a></li>
			<foreach name="auth.extcred" item="vo" key="k">
			<li class="extcred"><a href="__DZURL__/home.php?mod=spacecp&ac=credit">{$vo}：{$auth.$k}</a></li>
			</foreach>
		</ul>
	</li>
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
		<ul class="dropdown-menu" aria-labelledby="download">
			<li><a href="__DZURL__/home.php?mod=spacecp">设置</a></li>
			<li><a href="__DZURL__/home.php?mod=space&do=notice">提醒</a></li>
			<li><a href="__DZURL__/portal.php?mod=portalcp">门户管理</a></li>
			<li><a href="__DZURL__/forum.php?mod=modcp&fid=0">论坛管理</a></li>
			<li><a href="__DZURL__/admin.php">管理中心</a></li>
			<li><a href="{:U('Index/logout')}" id="siteLogout">退出</a></li>
		</ul>
	</li>
	<li><a href="__DZURL__/home.php?mod=space&uid={$auth.uid}" style="padding: 3px 0 0 0"><img src="__DZURL__/uc_server/avatar.php?uid={$auth.uid}&size=small"></a></li>
</ul>
